package beans;

import com.google.gson.Gson;

public class UserStoryTypesItemBean {
	private int id;
	private String typeName;

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getTypeName() {
		return typeName;
	}
	
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	
	public String getJson() {
		StringBuffer sb = new StringBuffer();
		Gson gson = new Gson();
		
		sb.append("{");
		sb.append("\"id\": " + gson.toJson(id) + ",");
		sb.append("\"type_name\": " + gson.toJson(typeName));
		sb.append("}");
		
		return sb.toString();
	}
}
